package com.chen.winnerframework.domain.entity.mybatis.rbac;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableName;
import com.chen.winnerframework.domain.entity.mybatis.BaseEntity;

/**
 * 角色对象
 *
 * @author chengy
 * @date 2022/11/20
 */
@TableName("sys_role")
public class Role extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 名称
     */
    @Excel(name = "角色名称", width = 20)
    private String name;

    /**
     * 编码
     */
    private String code;

    /**
     * 状态（1启用 0禁用）
     */
    private Integer status;

    /**
     * 备注
     */
    private String remark;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

}
